package router

import (
	"github.com/gin-gonic/gin"
	"net/http"
)
/*
  api 路由
 */
func ApiRouter(r *gin.Engine)  {
	api := r.Group("/api")
	{
		v1 := api.Group("/v1")
		{
			v1.GET("/user", func(context *gin.Context) {
				
			})
		}
		api.GET("/", func(c *gin.Context) {
			c.String(http.StatusOK,"我是api 接口")
		})
	}
}